/*
 * @Author: your name
 * @Date: 2020-11-18 14:10:08
 * @LastEditTime: 2020-11-18 18:26:00
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-admin-beautiful-pro-template\src\api\audit.js
 */
import request from '@/utils/request'

// 等待/通过审核 累计转账
export function auditAmount(params) {
  return request({
    url: '/withdrawApply/auditAmount.do',
    method: 'GET',
    params,
  })
}

// 导出提现审核
export function exportAudit(params) {
  return request({
    url: '/withdrawApply/exportWithdrawApply.do',
    method: 'GET',
    params,
  })
}

// 获取提现审核列表
export function auditList(data) {
  return request({
    url: '/withdrawApply/getPage.do',
    method: 'POST',
    data,
  })
}

// 获取审核详情
export function auditDetail(params) {
  return request({
    url: '/withdrawApply/getWithdrawApply.do',
    method: 'GET',
    params,
  })
}

//确认审核/转账
export function confirmAudit(data) {
  return request({
    url: '/withdrawApply/verifyOk.do',
    method: 'POST',
    data,
  })
}
